package dto;

import model.Business;
import model.BusinessType;

import java.util.List;

public class IndexDto {
    List <BusinessType> businessTypes;
    List <Business> businesses;

    public IndexDto(List<BusinessType> businessTypes, List<Business> businesses) {
        this.businessTypes = businessTypes;
        this.businesses = businesses;
    }

    public List<BusinessType> getBusinessTypes() {
        return businessTypes;
    }

    public void setBusinessTypes(List<BusinessType> businessTypes) {
        this.businessTypes = businessTypes;
    }

    public List<Business> getBusinesses() {
        return businesses;
    }

    public void setBusinesses(List<Business> businesses) {
        this.businesses = businesses;
    }
}
